check if string variable contains only letters c#

53

check if string variable contains only letters c# -

Regex.IsMatch(input, @"^[a-zA-Z]+$");

Comments

Submit
0 Comments